package top.infopub.mgr.bpa.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.bpa.dao.SubpackCotListDao;
import top.infopub.mgr.bpa.domain.SubpackCotListDomain;
import top.infopub.model.bpa.SubpackCotList;
import top.infopub.mgr.bpa.service.SubpackCotListService;

@Service
public class SubpackCotListServiceImpl extends GenericServiceImpl<SubpackCotList, String> implements
		SubpackCotListService {

	@Autowired
	private SubpackCotListDao subpackCotListDao;
	
	@Override
	public GenericDao<SubpackCotList, String> getDao() {
		return subpackCotListDao;
	}

    @Override
    public List<SubpackCotListDomain> selectBySubpackCotId(String subpackCotId) {
        return subpackCotListDao.selectBySubpackCotId(subpackCotId);
    }

}